<template>
  <div>
    <h2>父组件</h2>

    大儿媳: {{bigsonwife}}
    <hr>
    <big-son></big-son>
    <hr>
    <small-son></small-son>
  </div>
</template>

<script>
import BigSon from './components/BigSon'
import SmallSon from './components/SmallSon'
export default {
  data(){
    return {
      bigsonwife: ''
    }
  },
  components: {
    BigSon,
    SmallSon
  },
  created(){
    this.bus.$on('send',(val)=>{
      this.bigsonwife = val
    })
  }
}
</script>

<style>

</style>